<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<div id='cabecera'>
    <c:choose>
      <c:when test="${sessionScope.unombre!=null}">
      <c:out value="${sessionScope.unombre}"/> <a href="logout.fx">Salir</a>
      </c:when>

      <c:otherwise>An&oacute;nimo <a href="login.fx">Entrar</a> <a href="logregistro.fx">Registrarse</a>
      </c:otherwise>
    </c:choose>
</div>